package com.link2room.rodimus.dto.param.base;

import com.link2room.common.dto.result.base.BaseDto;

/**
 * Created by LN on 2017/11/27
 */
public class MallGoodPriceTypeDto extends BaseDto{
    private String priceType;
    private String name;

    public String getPriceType() {
        return priceType;
    }

    public void setPriceType(String priceType) {
        this.priceType = priceType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        MallGoodPriceTypeDto that = (MallGoodPriceTypeDto) o;

        if (priceType != null ? !priceType.equals(that.priceType) : that.priceType != null) return false;
        if (name != null ? !name.equals(that.name) : that.name != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = priceType != null ? priceType.hashCode() : 0;
        result = 31 * result + (name != null ? name.hashCode() : 0);
        return result;
    }
}
